<template>
  <div id="app">
    <table>
      <tr v-for="(item, index) in books" :key="index">
       <td-el :book="item"></td-el>
      </tr>
    </table>
  </div>
</template>
<script>
import TdEl from "./son.vue";
export default {
  data() {
    return {
      books: ["《故乡》", "《大地》", "《平凡的世界》"],
    };
  },
components: {
    TdEl,    
},
};
</script>
<style scoped>
</style>